@(titulo: String, pesquisadorForm: Form[models.Pesquisador], instituicoes: Seq[(String,String)])

@import helper._

@implicitField = @{ FieldConstructor(fields.simpleInput.f) }

<fieldset>
	<legend>@titulo</legend>
	<input type="hidden" name="id" value="@pesquisadorForm("id").value" />
	<table>
		@inputText(pesquisadorForm("nome"), '_label ->  "Nome: ", '_showConstraints -> false)
		@inputText(pesquisadorForm("email"), '_label ->  "E-mail: ", '_showConstraints -> false)
		@inputText(pesquisadorForm("usuario.login"), '_label ->  "Login: ", '_showConstraints -> false)
		@inputPassword(pesquisadorForm("usuario.senha"), '_label ->  "Senha: ", '_showConstraints -> false)
		@select(pesquisadorForm("idInstituicao"), instituicoes, '_label ->  "Instituição: ", '_showConstraints -> false)
	</table>
</fieldset>
<br />
<input type="submit" value="Confirmar" />
